#include "PlatformObst.h"
CPlatformObst::CPlatformObst(void)
{
	this->SetImgId(-1);
	temp = -1;
	this->m_eType = OBJ_PLATFORM;
}

CPlatformObst::~CPlatformObst(void)
{
	
}

void CPlatformObst::Init(void)
{
	this->m_pTM = CSGD_TextureManager::GetInstance();
	this->SetDensity(1);
	this->SetHeight(113);
	this->m_eType = OBJ_PLATFORM;
	this->SetWidth(511);
	this->SetPosX(300);
	this->SetPosY(500);
	this->SetVelX(0.0f);
	this->SetVelY(0.0f);
}

void CPlatformObst::Update(float fElapsedTime)
{
	CEntity::Update(fElapsedTime);
}

void CPlatformObst::Render(void)
{
	m_pTM->Draw(GetImageID(), (int)GetPosX(), (int)GetPosY(), 1.0f, 1.0f);
}